//
//  AddressBookPerson.h
//  TestAB
//
//  Created by Hunk on 12-2-24.
//  Copyright (c) 2012年 __MyCompanyName__. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <AddressBook/AddressBook.h>

@interface AddressBookPerson : NSObject
{
    @private
    ABRecordRef _record;
    
    ABRecordID  _recordID;
    
    BOOL        _selected;
}
@property (nonatomic, readonly) ABRecordRef record;
@property (nonatomic, readonly) ABRecordID  recordID;
@property (nonatomic, assign)   BOOL        selected;

- (id)initWithRecord:(ABRecordRef)record;

// Person name
- (NSString *)personName;

// Person photo
- (UIImage *)personPhoto;

// Person phone
- (NSDictionary *)personPhone;

// Person email
- (NSDictionary *)personEmail;

@end
